export const apiList = [
  {
    name: '一、device',
    desc: '设备相关接口',
    data: [
      {
        name: 'mysql测试',
        url: "/device/userList",
        type: "前端"
      },
      {
        name: 'mysql测试',
        url: "/device/deviceList",
        type: "前端"
      },
      {
        name: 'mysql测试',
        url: "/device/deviceInfo",
        type: "前端"
      },
      {
        name: 'mysql测试',
        url: "/device/updateDevice",
        type: "前端"
      }
    ]
  },
  {
    name: '二、openai',
    desc: 'openai相关接口',
    data: [
      {
        name: '获取上传的documents列表',
        url: "/openai/getFiles",
        type: "前端"
      },
      {
        name: '获取OpenAiApi详情',
        url: "/openai/getOpenAiCount",
        type: "前端"
      },
      {
        name: '获取AI模型',
        url: "/openai/getModels",
        type: "前端"
      },
      {
        name: '获取设备信息',
        url: "/openai/getDevice",
        type: "前端"
      },
      {
        name: '重置设备次数',
        url: "/openai/resetCount",
        type: "前端"
      },
      {
        name: '聊天功能',
        url: "/openai/chat",
        type: "前端"
      },
      {
        name: '聊天记录',
        url: "/openai/getMessageList",
        type: "前端"
      },
    ]
  },
]
